export const devRoutes = [
  // 代码范例
  {
    name: '代码范例',
    path: '/代码范例',
    component: 'Layout',
    meta: {
      title: '代码范例',
      icon: 'el-icon-s-data',
    },
    children: [
      {
        name: 'base',
        path: 'base',
        hidden: false,
        component: '代码范例/base/index',
        meta: {
          title: 'base',
          icon: 'chart',
          noCache: false,
          link: null,
        },
      },
      {
        name: 'base-选项式',
        path: 'base-选项式',
        hidden: false,
        component: '代码范例/base-选项式/index',
        meta: {
          title: 'base-选项式',
          icon: 'chart',
          noCache: false,
          link: null,
        },
      },
    ],
  },

  // 代码范例
  {
    name: 'editor-form',
    path: '/editor-form',
    component: 'Layout',
    meta: {
      title: 'editor-form',
      icon: 'el-icon-s-data',
    },
    children: [
      {
        name: 'editor-form',
        path: 'editor-form',
        hidden: false,
        component: 'editor-form/index',
        meta: {
          title: 'editor-form',
          icon: 'chart',
          noCache: false,
          link: null,
        },
      },
      {
        name: 'editor-config',
        path: 'editor-config',
        hidden: false,
        component: 'editor-form/config',
        meta: {
          title: 'editor-config',
          icon: 'chart',
          noCache: false,
          link: null,
        },
      },
      {
        name: 'editor-preview',
        path: 'editor-preview',
        hidden: false,
        component: 'editor-form/preview',
        meta: {
          title: 'editor-preview',
          icon: 'chart',
          noCache: false,
          link: null,
        },
      },
    ],
  },
]
